
if( SERVER ) then
   
 	AddCSLuaFile( "shared.lua" ) 
 	SWEP.HoldType = "pistol";
 
 end 

 
 SWEP.Base = "ep_base";
   
 SWEP.Spawnable			= false 
 SWEP.AdminSpawnable		= false 
   
if( CLIENT ) then

	
	SWEP.ViewModelFlip		= true	
	SWEP.CSMuzzleFlashes	= true
	
	SWEP.DrawCrosshair = false;

end


SWEP.ViewModel			= "models/weapons/v_rif_m144.mdl"
SWEP.WorldModel			= "models/weapons/w_rif_m144.mdl"
   
SWEP.Primary.Sound			= Sound( "Weapon_scout.Single" )


SWEP.PrintName = "M14 Rifle";
SWEP.EpiDesc = "Fully-powered rifle";


 SWEP.Primary.Recoil			= .3
 SWEP.Primary.RecoilAdd			= 1.25
 SWEP.Primary.RecoilMin = .3
 SWEP.Primary.RecoilMax = 7
 
 SWEP.Primary.ViewPunchMul = .9;
 SWEP.Primary.Damage			= 12
 SWEP.Primary.NumShots		= 1 
 
 SWEP.EpiHoldType = "RIFLE";

 SWEP.DegradeAmt = 2;
 SWEP.JamChance = 20;
 SWEP.HealthAmt = 100;

SWEP.Primary.MaxAmmoClip = 20;
SWEP.Primary.AmmoString = " 7.62mm rounds";
SWEP.Primary.AmmoType = 2;
SWEP.Primary.Delay = .08;
SWEP.Primary.Automatic = false;
SWEP.Primary.SpreadCone = Vector( 0.01, 0.01, 0.01 );
 SWEP.Primary.ReloadDelay = 3.2;
 
 SWEP.Primary.IronSightPos = Vector( 5.06, 2.9, -4.0 );
 SWEP.Primary.IronSightAng = Vector( -3.0, 0.1, 0.0 );


SWEP.Primary.HolsteredPos = Vector( -0.8, -1.0, -10.0 );
SWEP.Primary.HolsteredAng = Vector( 0.0, -50.0, 0.0 );

 SWEP.ItemWidth = 4;
 SWEP.ItemHeight = 2;

SWEP.IconCamPos = Vector( 3, -200, -18 )
SWEP.IconLookAt = Vector( 12, 13, 1 ) 
SWEP.IconFOV = 8
SWEP.HUDWidth = 200;
SWEP.HUDHeight = 100;
SWEP.NicePhrase = "an M14";
SWEP.HeavyWeight = true;

   